package headfirst.combined.djview;

import static org.junit.Assert.*;

import org.junit.Test;

public class HeartControllerTest {
	ControllerInterface heartController;
	HeartModel heartModel;
	@Test
	public void testIncreaseBPM() {
		heartModel = HeartModel.getInstance();
		heartController = new HeartController(heartModel);
		heartController.increaseBPM();
		heartController.increaseBPM();
		heartController.increaseBPM();
		assertEquals("",3,heartModel.getIntentos());
	}

}
